package com.yyge.controller.publicInterface.req;

/**
 * @program: js-hd
 * @description: 通用存储编辑接收对象
 * @author: yyf
 * @create: 2024-01-29 11:29
 **/

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Map;

@Data
@ApiModel(value = "通用存储编辑接收对象",description ="通用存储编辑接收对象")
public class PublicInterfaceEditReq implements Serializable {

    @ApiModelProperty(value = "通用存储Id")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "公共字段1")
    private String field1;

    @ApiModelProperty(value = "公共字段2")
    private String field2;


    @ApiModelProperty(value = "公共字段3")
    private String field3;


    @ApiModelProperty(value = "用户秘钥")
    @NotNull(message = "秘钥不能为空")
    private String strKey;


    private Map<String, Object> params;
    private static final long serialVersionUID = 1L;
}
